package com.mc2.docapp.disabilityassessmenttool.SpinalAffection;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class C_spin_affn_scoliosis_inner extends RealmObject {
    @PrimaryKey
    public int id;
    private double scoliosisValue;


    public double getScoliosisValue() {
        return scoliosisValue;
    }

    public void setScoliosisValue(double scoliosisValue) {
        this.scoliosisValue = scoliosisValue;
    }

    /*public C_spin_affn_scoliosis_inner(double scoliosisValue) {
        this.scoliosisValue = scoliosisValue;
    }*/

    public C_spin_affn_scoliosis_inner strip(C_spin_affn_scoliosis_inner dt) {
        return new C_spin_affn_scoliosis_inner(dt.getId(), dt.getScoliosisValue());
    }

    /*public C_spin_affn_scoliosis_inner(int id, double scoliosisValue) {
        this.id = id;
        this.scoliosisValue = scoliosisValue;
    }*/

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
